package com._51cto.healthy.mapper;

import com._51cto.healthy.base.BaseMapper;
import com._51cto.healthy.pojo.Advice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdviceMapper extends BaseMapper<Advice> {
    List<Advice> findAll(@Param("query") String query);

    @Override
    int deleteByPK(@Param("id") Integer pk);
    @Override
    int insert(Advice entity);

    @Override
    int update(Advice entity);
}
